home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
pascal
/
tpfast30.zip
/
TPFAST.TXT
< prev
Wrap
Text File
|
1990-09-26
|
63KB
|
1,798 lines
TpFast.Txt
============
CopyRight (c) 1989,1990 Steven Lutrov
The following text is organised as follows := The name of
the function or procedure is on the far left and the name
of the assembler source file it resides in is on the far
right. A brief description is then added followed by the
decleration syntax and then a description of the variables
passed as parameters.
{------------------------------------------------------------------------------}
AltKeyDown FastKbd.Asm
Description : Report if <Alt> Key is Pressed
Declerations : Function Altkeydown: Boolean;
Parameters : None
{------------------------------------------------------------------------------}
BackGround FastScr.Asm
Description : Set up the Background Colour Attribute.
Declerations : Procedure Background(Code: Char);
Parameters : Code Character Code from Table in Remarks.
Remarks : k Black K Light Black (Grey)
b Blue B Light Blue
g Green G Light Green
c Cyan C Light Cyan
r Red R Light Red
m Magenta M Light Magenta
y Yellow Y Bright Yellow
w White W Bright White
Also Note That Monochrome attributes are possible e.g.
Attribute ForeGround BackGround
========= ========== ==========
Normal w k
Intense W k
Underlined b k
Underlined & Intense B k
Reverse k w
Blinking w K
Blinking & Intense W K
Blinking & Underlined b K
Blinking & Intense & Inderlined B K
Blinking & Reverse k W
See Also ForeGround
{------------------------------------------------------------------------------}
Blinkoff FastScr.Asm
Description : Set Text Attribute To Not Blink.
Declerations : Procedure BlikOff;
Parameters : None
{------------------------------------------------------------------------------}
Blinkon FastScr.Asm
Description : Set Text Attribute To Blink;
Declerations : Procedure BlinkOn;
Parameters : None
{------------------------------------------------------------------------------}
Bytetohex FastBit.Asm
Description : Convert a Byte Variable To Hex.
Declerations : Function ByteToHex (Work_ : Byte) :Stype;
Parameters : Work_ The Byte that is converted
{------------------------------------------------------------------------------}
CapsLockDown FastKbd.Asm
Description : Report if <Caps Lock> Key is Pressed
Declerations : Function CapsLockdown: Boolean;
Parameters : None
{------------------------------------------------------------------------------}
CapsLockOn FastKbd.Asm
Description : Report if <Caps Lock> Key is Currently On
Declerations : Function CapsLockdOn: Boolean;
Parameters : None
{------------------------------------------------------------------------------}
ClearBuffer FastKbd.Asm
Description : Clears The Keyboard Buffer.
Declerations : Procedure Clearbuffer;
Parameters : None
{------------------------------------------------------------------------------}
ClearPage FastGrp.Asm
Description : Clears a previously Saved Page from memory.
Declerations : Procedure Clearpage(Pagenumber,Colour: Byte);
Parameters : PageNumber The Page Number
Colour The Colour Attribute to which the page is
cleared.
Notes : See GetPage.
{------------------------------------------------------------------------------}
ClearCapslock FastKbd.Asm
Description : Turn Off The <Caps Lock> Key.
Declerations : Procedure Clearcapslock;
Parameters : None
{------------------------------------------------------------------------------}
ClearIns FastKbd.Asm
Description : Turn Off The <Ins> Key.
Declerations : Procedure Clearins;
Parameters : None
{------------------------------------------------------------------------------}
ClearNumLock FastKbd.Asm
Description : Turn Off The <Num Lock> Key.
Declerations : Procedure ClearNumLock;
Parameters : None
{------------------------------------------------------------------------------}
ClearScrollLock FastKbd.Asm
Description : Turn Off The <Scroll Lock> Key.
Declerations : Procedure ClearScrollLock;
Parameters : None
{------------------------------------------------------------------------------}
CloseFile FastFile.Asm
Description : Closes a File
Declerations : Function CloseFile(Handle:Integer):Boolean;
Parameters : Handle The Dos Handle Returned when the file was
created. (See CreateFile)
Remarks : CloseFile Returns a Boolean Value as follows
True : File Closed Ok
False : File Didn't Close Ok
{------------------------------------------------------------------------------}
ChangeChar FastStr.Asm
Description : Changes every instance of a character in a string.
Declerations : Procedure ChangeChar(Var Strx: Stype; Search,Replace: Char);
Parameters : Strx The String to be manipulated
Search Character that is searched
Replace Character that replaces Search
ErrReturn : 0 - Ok
1 - Character not Found
Remarks : None
{------------------------------------------------------------------------------}
Colourx FastScr.Asm
Description : Change The Attribute of a Column of Text.
Declerations : Procedure Colourx(X_Pos,Y_Pos,Y_Num,Colour: Byte);
Parameters : X_Pos Column Position Coordinate
Y_Pos Row Position Coordinate
Y_Num Number of Columns Deep affecting Attribute
Colour The Attribute (0-255)
Remarks : The Text inside the area is left un altered.
{------------------------------------------------------------------------------}
Compare FastStr.Asm
Description : Compares two Strings
Declerations : Function Compare(Strx1,Strx2: Stype): Boolean;
Pa